using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Business.Logic;
using Business.Entities;

namespace UI.Desktop
{
    public partial class ApplicationForm : Form
    {
        #region Propiedades
        public enum ModoForm
        {
            Alta,
            Baja,
            Modificacion,
            Consulta
        }
        

        private ModoForm _ModoForm;
        public ModoForm ModoFormulario
        {
            get { return _ModoForm; }
            set { _ModoForm = value; }
        }
        #endregion

        #region Metodos
        public ApplicationForm()
        {
            InitializeComponent();
        }

        public virtual void MapearDeDatos() { }
        public virtual void MapearADatos() { }
        public virtual void GuardarCambios() { }
        public virtual bool Validar() { return false; }

        #endregion

        private void ApplicationForm_Load(object sender, EventArgs e)
        {

        }
    }
}